#ifndef LINE_H
#define LINE_H

#include "shape.h"
#include "point.h"

class Line : public Shape
{
public:
    Line();
    Line(const Point& p0, const Point& p1);

    double distance(const Point& pt, bool bSeg = false);

    virtual void draw();

protected:
    Point vertex[2];
};

#endif // LINE_H
